package com.digitalchina.lxnsy.sy.baoxianjilu;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;


public class DetailsInsuranceRecordsActivity extends BaseHtmlActivity {
    private int tag = 0;

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);

        loadUrl("detailsInsuranceRecords");
        setTitle("保险记录详情");

    }



    @Override
    public void rightOnClick() {


    }


    public class JsApi {


        @JavascriptInterface
        public void seeEarTag3(Object msg) {
            go(SeeEarTag3Activity.class);

        }

        @JavascriptInterface
        public void editInsuranceRecords(Object msg) {
            finish();
            go(EditInsuranceRecordsActivity.class);

        }




    }
}
